﻿@model PasswordEntity
@{
	ViewBag.Title = "修改密码";
}
<div class="ui-widget-header">
	<div style="padding: 5px 10px; font-size: 120%">
		@ViewBag.Title
	</div>
</div>
@using (Ajax.BeginForm(null, null, new AjaxOptions { UpdateTargetId = "Main" }, new {@class="form-edit"}))
{
	@Html.ValidationSummary()
	<div class="ui-content">
		<div class="ui-cell ui-cell-full">
			@Html.ValidationSummary()
		</div>
		<div class="ui-cell ui-cell-full">
			<label>旧密码</label>
			@Html.EditorFor(p => p.OldPwd)
		</div>
		<div class="ui-cell ui-cell-full">
			<label>新密码</label>
			@Html.EditorFor(p => p.NewPwd)
		</div>
		<div class="ui-cell ui-cell-full">
			<label>确认密码</label>
			@Html.EditorFor(p => p.Confirm)
		</div>
		<div class="ui-cell-bar">
			<input class="btn" type="submit" value="修改" />
		</div>
	</div>
}